package com.kla.power.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kla.power.vo.BaseEntity;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 角色权限表
 * </p>
 *
 * @author WuZH
 * @since 2024-06-02
 */
@Getter
@Setter
@TableName("role_menu_info")
@ApiModel(value = "RoleMenuEntity对象", description = "角色权限表")
public class RoleMenuEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("角色权限Id")
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty("角色Id")
    @TableField("roleId")
    private String roleId;

    @ApiModelProperty("权限Id")
    @TableField("menuId")
    private String menuId;

    @TableField("createTime")
    private Date createTime;

    @TableField("changeTime")
    private Date changeTime;

    @TableField("isUsed")
    private Integer isUsed;


}
